package com.imooc.pojo.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lihongyu
 * @CreateTime 2021-10-13 15:34
 * @Description 商品评价等级总记录数视图封装实体
 */
@ApiModel("商品评价等级总记录数视图封装实体")
public class ItemsCommentsLevelCountVO implements Serializable {

    /**
     * 总记录数
     */
    @ApiModelProperty(name = "totalCounts",value = "总记录数",dataType = "Integer")
    private Integer totalCounts;

    /**
     * 好评记录数
     */
    @ApiModelProperty(name = "goodCounts",value = "好评记录数",dataType = "Integer")
    private Integer goodCounts;

    /**
     * 中评记录数
     */
    @ApiModelProperty(name = "normalCounts",value = "中评记录数",dataType = "Integer")
    private Integer normalCounts;

    /**
     * 差评记录数
     */
    @ApiModelProperty(name = "badCount",value = "差评记录数",dataType = "Integer")
    private Integer badCounts;

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public void setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
    }

    public Integer getGoodCounts() {
        return goodCounts;
    }

    public void setGoodCounts(Integer goodCounts) {
        this.goodCounts = goodCounts;
    }

    public Integer getNormalCounts() {
        return normalCounts;
    }

    public void setNormalCounts(Integer normalCounts) {
        this.normalCounts = normalCounts;
    }

    public Integer getBadCounts() {
        return badCounts;
    }

    public void setBadCounts(Integer badCounts) {
        this.badCounts = badCounts;
    }

    @Override
    public String toString() {
        return "ItemsCommentsLevelCountVO{" +
                "totalCounts=" + totalCounts +
                ", goodCounts=" + goodCounts +
                ", normalCounts=" + normalCounts +
                ", badCounts=" + badCounts +
                '}';
    }
}
